package org.dxy.domain.exception;

import org.dxy.types.exception.DomainException;

import static org.dxy.types.enums.ErrorCodeEnum.EQUIPMENT_ALREADY_DEACTIVATED;

/**
 * @description:
 * @author: dxy
 * @createTime: 2025/6/14 12:34
 */
public class EquipmentAlreadyDeactivatedException  extends DomainException {

    public EquipmentAlreadyDeactivatedException(Long equipmentId) {
        super(EQUIPMENT_ALREADY_DEACTIVATED.getCode(), "设备已停用，ID: " + equipmentId);
    }
}
